package five_class_design_creational_patterns.six_PrototypePattern.deep;


import java.io.IOException;

/**
 * @author 北巷_东坡
 * @date 2022/10/16 10:33
 * @computer 10741
 */
public class Client_LDP {
    public static void main(String[] args) {
        Customer_LDP customer_ldp,copycustomer_ldp;
        customer_ldp = new Customer_LDP();
        try {
            copycustomer_ldp = (Customer_LDP)customer_ldp.deepClone();
            System.out.println("customer_ldp == copycustomer_ldp?");
            System.out.println(customer_ldp == copycustomer_ldp);
            System.out.println("customer_ldp.getAdress_ldp() == copycustomer_ldp.getAdress_ldp()?");
            System.out.println(customer_ldp.getAdress_ldp() == copycustomer_ldp.getAdress_ldp());
        } catch (IOException e) {
            e.printStackTrace();
        } catch (ClassNotFoundException e) {
            e.printStackTrace();
        }

    }
}
